import React, { Component } from 'react';
import Routeview from './router/index';
import { Provider } from 'react-redux';
import store from './store/index'
import 'antd/dist/antd.css';
class App extends Component {
  render() {
    return (
      // 通过Provider的store属性将Redux的store数据传递给Provider，就可以在所有后代中直接使用Redux了
      <Provider store={store}>
        <Routeview />
      </Provider>
    );
  }
}

export default App;